/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.jaiz.twitter.dao;

import java.util.Collection;

/**
 *
 * @author Marin
 */
public interface IDAO<E,I> {
    
    void create(E e);
    void delete(E e);
    void update(E e);
    Collection<E> getAll();
    E getById(I i);
    
}
